package com.ccz.demo.design.proxy.logdemo.cglib;

import net.sf.cglib.proxy.Callback;
import net.sf.cglib.proxy.Enhancer;

/**
 * @ClassName CglibTest
 * @Author caihaoyun
 * @Date 2020/5/29
 * @Version V1.0
 **/
public class CglibTest {

    public static void main(String[] args) {

        UserDao proxy = LogInterceptor.getInstance().getProxy(UserDao.class);
//        proxy.select();
        proxy.update();

    }

}
